package com.yuanian.wf.event;

import com.yuanian.wf.context.Context;
import org.springframework.context.ApplicationEvent;

public abstract class Event<T extends Context> extends ApplicationEvent {

    protected T wfContext;

    public Event(Object source, T wfContext) {
        super(source);
        this.wfContext = wfContext;
    }

    public Context getContext() {
        return wfContext;
    }

}
